sc.exe create <new_service_name> binPath= "<path_to_the_service_executable>"

Tworzenie:
sc.exe create "Witaj usugo!" binPath= "C:\Usuga.exe"

Uruchamianie:
sc.exe start "Witaj usugo!"

Zatrzymywanie:
sc.exe stop "Witaj usugo!"

Usuwanie:
sc.exe delete "Witaj usugo!"